package com.jumi.microservice.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 仓库商城库存申请实体
 * @ClassName StockCommodityApply
 * @Author Abel Yang
 * @Date 2020/8/29/029 17:43
 **/
@TableName(value = "stock_commodity_apply", keepGlobalPrefix = true)
public class StockCommodityApplyDO extends AbstractObject implements Serializable {
    private static final long serialVersionUID = 5591979442232224213L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商城spuId")
    private Long spuId;

    @ApiModelProperty(value = "商城spuCode")
    private String spuCode;

    @ApiModelProperty(value = "是否组合装")
    private Boolean combinationPack;

    @ApiModelProperty(value = "实物库存总申请量")
    private int stockTotalNum;

    @ApiModelProperty(value = "预售库存总申请量")
    private int preStockTotalNum;

    @ApiModelProperty(value = "仓库分配状态")
    private Boolean status;

    private String createBy;
    private Date createTime;
    private Date updateTime;
    private String updateBy;
    private Boolean isDel;
}
